package com.qqt.csr.route.vo.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.*;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "RouteQueueOverflowCfgRespVO", description = "超时策略溢出其他组后的技能组配置")
public class RouteQueueOverflowCfgRespVO implements Serializable {
    @Serial
    private static final long serialVersionUID = -833913905774410068L;

    @Schema(description = "技能组id集合",requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Long> skillSetIdList;

    @Schema(description = "分发规则：0 随机分配；1 轮询分配；2 会话量少优先分配；3 会话时长低优先分配",requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer distributeType;

    @Schema(description = "溢出话术/退出排队话术",requiredMode = Schema.RequiredMode.REQUIRED)
    private String tip;
}
